package net.myjung.hibernate;

import net.myjung.model.annotation.MdlAttribute;
import net.myjung.model.annotation.MdlClass;

@MdlClass(name = "Many-to-one")
@SuppressWarnings("serial")
public class HbnMany_to_one extends HbnRelation {
	@MdlAttribute(type = "string")
	private String name;
	@MdlAttribute(type = "string")
	private String column;
	@MdlAttribute(name = "foreign-key", type = "string")
	private String foreign_key;
	@MdlAttribute(type = "string")
	private String cascade;

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getColumn() {
		return column;
	}
	public void setColumn(String column) {
		this.column = column;
	}
	public String getForeign_key() {
		return foreign_key;
	}
	public void setForeign_key(String foreign_key) {
		this.foreign_key = foreign_key;
	}
	public String getCascade() {
		return cascade;
	}
	public void setCascade(String cascade) {
		this.cascade = cascade;
	}
}